package com.iris.string;

import java.sql.Timestamp;


public class StringTest2 {
	public static void main(String[] args) {
		Timestamp time = new Timestamp(System.currentTimeMillis());
		System.out.println(time.toString()+"=====");
		System.out.println(time.getTime());
		byte b = 0;
		System.out.println(new String(new byte[]{b})+"=====");
		System.out.println("0".equals(b));
		System.out.println("0".equals(Byte.toString(b))+"--");
		
		String str = "0";
		byte[] strb = str.getBytes();
		for (byte c : strb) {
			System.out.println(c);
		}
		byte bstr = new Byte("0");
		System.out.println(Byte.toString(bstr));
	}
	
}
